#ifndef COURSECLIENT_H
#define COURSECLIENT_H

#include <QMainWindow>
#include <QNetworkAccessManager>

class QListWidget;

class CourseClient : public QMainWindow
{
    Q_OBJECT
public:
    explicit CourseClient(QWidget *parent = nullptr);
    void fetch();

private slots:
    void onReply();

private:
    QListWidget *m_list;
    QNetworkAccessManager m_mgr;
};

#endif // COURSECLIENT_H
